﻿<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=2.0">
<title>${page.Title}#if(${page.PageIndex}>1)_第${page.PageIndex}页#end#if(${page.Channel.Id}!=${page.ParentChannel.Id})_${page.ParentChannel.Title}#end _${site.Name}</title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="keywords" content="${page.Keywords}  " />
    <meta name="description" content="${page.Description}"/>
  <meta http-equiv="Cache-Control" content="no-transform" />
<link href="/${skin.Dir}/wap39.css?ver=20130729.1" type="text/css" rel="stylesheet">
</head>

<body>
<div class="sub" id="sub">
<a href="/" class="back"><i></i></a>
<span> 
#foreach($ChannelEntity in ${page.Navigator})<a href="${ChannelEntity.Url}"  class="ClassNav"  >${ChannelEntity.Title}</a>>#end<a class="ClassNav" href="${page.Channel.Url}">${page.Channel.Title}</a>
</span>
<b><i></i></b>
#parse("${skin.TemplateName}/include/nav.htm")
</div>

<div class="art_text" id="show_text">
<h1>${article.Title}</h1>
<cite>${article.GetMDAddDate}&nbsp;&nbsp;生活百事通</cite>
<span class="art_ad">${cmn.Advertise("Content_YD").Advertise}</span>
<p style="text-align:left"> ${article.TextContent}  </p>
<span class="art_more"><cite>查看余下全文</cite></span>

 <div class="pagelist">
 #foreach($pageInfo in ${article.PageList})
            #if(${velocityCount}==1) <span class="pageinfo">共 <strong>${article.PageCount}</strong>页</span>#end
               #if(${page.PageIndex}==${pageInfo.PageNum})${pageInfo.PageNum}
               #else
               <a href="${article.Id}_${pageInfo.PageNum}.htm"  >${pageInfo.PageNum}</a>
               #end
                #end
</div>
<span class="art_ad">
 #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},1,"article","  id<${article.Id}","id desc",false,false,0))
                       上一篇： <a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a><br />
                        #end
                     
                     #foreach($ListInfo in $cmn.ModuleList(${page.ChannelId.ToString()},1,"article","  id>${article.Id}","id asc",false,false,0))
                       下一篇： <a href="${ListInfo.Url}" target="_blank">${ListInfo.Title}</a>
                        #end
</span>
</div>

<div class="index_ad">
${cmn.Advertise("Content_YD2").Advertise}
</div>
<div class="search">
<input type="hidden" id="channelId"  value="${page.ParentChannel.Dir}" /><table><tbody><tr><td class="t"><input type="text" class="searchbox"  name="searchContent"  id="searchContent"></td><td class="s"><input type="button" class="search_btn"  onclick="SiteSearch()" value="" ></td></tr></tbody></table>

</div>
<div class="list_box">
<div class="list_title">相关文章</div>
<ul class="list">
#set($SList = $cmn.SearchArticleList(${article.Id},"${article.SearchContent}","${article.SearchUpdateTime}","${page.Keywords}", "",21,720,1))
#foreach($ListInfo in $SList)
      <li> <a href="${ListInfo.Url}" >${ListInfo.Title}</a></li>
#end   
</ul>
<span class="art_ad"></span>
</div>

 #parse("${skin.TemplateName}/include/footer.htm")
  <script type="text/javascript">
       $(document).ready(function () {
           updateArticleNum(${article.Id},'${page.Channel.Dir}','upclick');
	});
           </script>  
</body>
</html>